package com.jwt.mone.common;

/**
 * @author: hxy
 * @description: 通用常量类, 单个业务的常量请单开一个类, 方便常量的分类管理
 * @date: 2017/10/24 10:15
 */
public class Constants {

    public static final String SUCCESS_CODE = "100";
    public static final String SUCCESS_MSG = "请求成功";



    public static final String SUCCESS_OPERATE_MSG = "操作成功";
    /**
     * session中存放用户信息的key值
     */
    public static final String SESSION_USER_INFO = "userInfo";
    public static final String SESSION_USER_PERMISSION = "userPermission";

    public static final String ERROR_CODE = "80003";
    public static final String ERROR_MSG = "更新失败，请核实传参";


    public static final String ERROR_CheckCODE = "101";
    public static final String ERROR_CheckMSG = "列项值之和超出部门对应项范围";

    public static final String ERROR_CheckContactCode = "103";
    public static final String ERROR_CheckContact = "当前联系人已是主联系人";

    public static final String CheckRegionCode = "101";
    public static final String CheckRegionMsg = "该大区已存在";

    public static final String CheckOldPwdCode = "102";
    public static final String CheckOldPwdMsg = "旧密码输入有误";

    public static final String CheckNewPwdCode = "105";
    public static final String CheckNewPwdMsg = "新密码与确认密码不一致";

    public static final String CheckValiCode = "104";
    public static final String CheckValiMsg = "验证码输入有误";
    /**
     * 页面下拉框值
     */
    public static final int VALUE_ONE=1;
    public static final int VALUE_TWO=2;
    public static final int VALUE_THREE=3;
    public static final int VALUE_FOUR=4;

    //房产
  public enum  House{
        House_MintypeOne,House_MintypeTwo,House_MintypeThree,House_MintypeFour
    }

    public static final int House_MintypeOne=1; //住宅用房;
    public static final int House_MintypeTwo=2; //商业用房
    public static final int House_MintypeThree=3;//工业用房
    public static final int House_MintypeFour=4;//其他用房
    //其他运输设备
    public static final int TransportOne=1; //船舶;
    //其他财产
    public static final int PropertyOne=1; //无形资产;
    public static final int PropertyTwo=2; //债权
    public static final int PropertyThree=3;//林权
    public static final int PropertyFour=4;//矿权
    public static final int PropertyFive=5; //工程;
    public static final int PropertySix=6; //机械设备
    public static final int PropertySeven=7;//其他财产
}
